package com.stone.redis.lock.config;

import com.stone.redis.lock.api.controller.v1.Hello;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

/**
 * 测试配置
 *
 * @author Mr_wenpan@163.com 2022/01/07 16:02
 */
@Configuration
public class StoneRedisLockTestConfig {

    @Bean
    @Scope("prototype")
    public Hello hello() {
        return new Hello();
    }
}
